-
Notifications
You must be signed in to change notification settings - Fork 56
fix: handle disableAnimateOnMount prop for web ProgressCircle #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle disableAnimateOnMount prop for web ProgressCircle #280
Conversation
✅ Heimdall Review Status
✅
|
| Code Owner | Status | Calculation | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ui-systems-eng-team |
✅
2/1
|
Denominator calculation
|
|
If aligned, we should consider a similar fix for mobile |
| }: ProgressTextLabelProps) => { | ||
| const { getPreviousValue, addPreviousValue } = usePreviousValues<number>([ | ||
| disableAnimateOnMount ? value : 0, | ||
| ]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look great, thanks for catching this and for contributing
Can you run yarn bump-version and yarn release and then push the changes made by the scripts? You can ignore the jira question, and see here if you have any questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Hunter, I ran the scripts and updated the PR 👍
What changed? Why?
disableAnimateOnMountprop on the webProgressCirclecomponent.Root cause (required for bugfixes)
disableAnimateOnMountprop was not implemented on the webProgressCirclecomponent.UI changes
Before.mov
After.mov
Testing
How has it been tested?
Testing instructions
yarn nx run storybook:startChange management
type=routine
risk=low
impact=sev5
automerge=false